package com.bourse.core.utils;

import org.joda.time.DateMidnight;

public class Cotation {

	private DateMidnight date;
	private IsinCode isin;
	private double cours;
	private double ouverture;
	private double plusHaut;
	private double plusBas;
	private String volume;

	
	/**
	 * @return the date
	 */
	public DateMidnight getDate() {
		return date;
	}

	/**
	 * @param date
	 *            the date to set
	 */
	public void setDate(DateMidnight date) {
		this.date = date;
	}

	/**
	 * @return the isin
	 */
	public IsinCode getIsin() {
		return isin;
	}

	/**
	 * @param isin
	 *            the isin to set
	 */
	public void setIsin(IsinCode isin) {
		this.isin = isin;
	}

	/**
	 * @return the cours
	 */
	public double getCours() {
		return cours;
	}

	/**
	 * @param cours
	 *            the cours to set
	 */
	public void setCours(double cours) {
		this.cours = cours;
	}

	/**
	 * @return the ouverture
	 */
	public double getOuverture() {
		return ouverture;
	}

	/**
	 * @param ouverture
	 *            the ouverture to set
	 */
	public void setOuverture(double ouverture) {
		this.ouverture = ouverture;
	}

	/**
	 * @return the plusHaut
	 */
	public double getPlusHaut() {
		return plusHaut;
	}

	/**
	 * @param plusHaut
	 *            the plusHaut to set
	 */
	public void setPlusHaut(double plusHaut) {
		this.plusHaut = plusHaut;
	}

	/**
	 * @return the plusBas
	 */
	public double getPlusBas() {
		return plusBas;
	}

	/**
	 * @param plusBas
	 *            the plusBas to set
	 */
	public void setPlusBas(double plusBas) {
		this.plusBas = plusBas;
	}

	/**
	 * @return the volume
	 */
	public String getVolume() {
		return volume;
	}

	/**
	 * @param volume
	 *            the volume to set
	 */
	public void setVolume(String volume) {
		this.volume = volume;
	}

	@Override
	public String toString() {
		return "Cotation [date=" + date + ", isin=" + isin + ", cours=" + cours
				+ ", ouverture=" + ouverture + ", plusHaut=" + plusHaut
				+ ", plusBas=" + plusBas + ", volume=" + volume + "]";
	}

	

}
